<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>求和</title>
</head>
<body>
<!--
action:表单提交后请求路劲
    /calculate : http://localhost:8080/calculate 基于当前服务器路劲的请求
    calculate： 相对路劲 http://localhost:8080/Web205_206/html/calculate
    ../calculate: 相对路劲 http://localhost:8080/Web205_206/calculate
method：请求方式
-->
<form action="../calculate" method="post">
    <input type="text" name="num_1" value="199"> + <input type="text" name="num_2" value="999"> = ?
    <br>
    <input type="submit" value="求和">
</form>
</body>
</html>